package com.nbot.server.mapper.third;

import com.nbot.server.domain.SRPFault;
import com.nbot.server.domain.SRPFaultWithBLOBs;

import java.util.List;

public interface SRPFaultMapper {
    int deleteByPrimaryKey(Byte faultNo);

    int insert(SRPFaultWithBLOBs record);

    int insertSelective(SRPFaultWithBLOBs record);

    SRPFaultWithBLOBs selectByPrimaryKey(Byte faultNo);

    int updateByPrimaryKeySelective(SRPFaultWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(SRPFaultWithBLOBs record);

    int updateByPrimaryKey(SRPFault record);

    SRPFaultWithBLOBs getOilAlarm(String faultName);

    List<SRPFaultWithBLOBs> getFaultList();
}